package com.demonlover.oauth2.resource.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.demonlover.oauth2.resource.domain.Content;
import java.util.List;
import com.demonlover.oauth2.resource.domain.ContentExample;
import com.demonlover.oauth2.resource.mapper.ContentMapper;
import com.demonlover.oauth2.resource.service.ContentService;
/**
 * @author  WuChao
 * @date  2020/6/3 11:59
 * @version 1.0
 */
@Service
public class ContentServiceImpl extends ServiceImpl<ContentMapper, Content> implements ContentService{

    @Override
    public long countByExample(ContentExample example) {
        return baseMapper.countByExample(example);
    }
    @Override
    public int deleteByExample(ContentExample example) {
        return baseMapper.deleteByExample(example);
    }
    @Override
    public List<Content> selectByExample(ContentExample example) {
        return baseMapper.selectByExample(example);
    }
    @Override
    public int updateByExampleSelective(Content record,ContentExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    @Override
    public int updateByExample(Content record,ContentExample example) {
        return baseMapper.updateByExample(record,example);
    }
}
